@extends("system.layout")
@section("main")
    <div class="banner two">
        <div class="container">
            <h2 class="second-head">Wedding Ceremony</h2>
        </div>
    </div>
    <!--//banner-->
    <!--ceremony-->
    <div class="ceremony">
        <div class="container">
            @if(isset($ceremonys))
                @foreach($ceremonys as $ceremony)
                    @if(($ceremony->id)%2 == 0)　
            <div class="blog-bottom">
                <div class="blog-left">
                    <a href="single.html" class="mask"><img style="height:275px;width:505px;" src="{{$ceremony->picture}}" alt="image" class="img-responsive zoom-img"></a>
                </div>
                <span class="circle"></span>
                <span class="devide-line"></span>
                <div class="blog-right">
                    <h6>{{$ceremony->create_addr}}</h6>
                    <h4>{{$ceremony->title}}</h4>
                    <p>{{$ceremony->content}}</p>
                </div>
                <div class="clearfix"></div>
            </div>
                    @elseif(($ceremony->id)%2 ==1)
            <div class="blog-bottom">
                <span class="circle"></span>
                <span class="devide-line"></span>
                <div class="blog-right">
                    <a href="single.html" class="mask"><img  style="height:275px;width:505px;" src="{{$ceremony->picture}}" alt="image" class="img-responsive zoom-img"></a>
                </div>
                <div class="blog-left second">
                    <h6>{{$ceremony->create_addr}}</h6>
                    <h4>{{$ceremony->title}}</h4>
                    <p>{{$ceremony->content}}</p>
                </div>
                <div class="clearfix"></div>
            </div>
                    @endif
                @endforeach
            @endif
            <div class="post"><a href="single.html">Read More</a></div>
        </div>
    </div>
    @include("system.friends")
@endsection